package com.wish.finance.service;

import com.wish.finance.entity.JrProduct;
import com.wish.finance.entity.JrSfLoan;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wish.finance.entity.vo.SearchSfLoanDetailRequestDto;
import com.wish.finance.entity.vo.SearchSfLoanDetailsResponseDto;
import com.wish.finance.entity.vo.SfContractDetailsResponseDTO;

import java.util.List;

/**
 * <p>
 * 收房贷申请信息 服务类
 * </p>
 *
 * @author xiaocui
 * @since 2022-04-06
 */
public interface IJrSfLoanService extends IService<JrSfLoan> {

    SfContractDetailsResponseDTO getSfContract(Long sfContractId);

    List<JrProduct> searchProduct(int i);

    JrProduct searchProductById(Long id);

    SfContractDetailsResponseDTO getSfContractStagingCalculation(Long sfContractId, Long productId);

    SearchSfLoanDetailsResponseDto getSfLoanDetail(SearchSfLoanDetailRequestDto sfdto);

    JrProduct selectById(Long productId);
}
